package com.jy.rhin.infra.feign;

import com.jy.api.manager.ManagerAPI;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ManagerService {

    @Autowired
    private ManagerAPI managerAPI;

    public long getRemoteWorkId(String serviceName) {
        return managerAPI.getRemoteWorkId(serviceName);
    }

}
